package com.sss.service.impl;

import com.sss.dao.CustomerDao;
import com.sss.dao.impl.CustomerDaoImpl;
import com.sss.entity.Customer;
import com.sss.service.CustomerService;

/**
 * @Author sss
 * @Date: 2023/10/13/ 15:37
 * @description:
 */
public class CustomerServiceImpl implements CustomerService {
    CustomerDao customerDao=null;

    public CustomerServiceImpl() {
        customerDao=new CustomerDaoImpl();
    }

    @Override
    public void saveCustomer(Customer customer) {
        customerDao.saveCustomer(customer);
    }
}
